<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="layout" content="main"/>
<title>Login</title>
<style type="text/css">
	.nav a {
	border: 1px solid gray;
	padding: 2px;
	}
	.nav a:hover {
	text-decoration: overline;
}
</style>
</head>
<body>
	<div class="nav">	
	<a href="../">Controladores</a>
	<a href="../getOpinion">Opinar</a>
	</div>
  <div class="body">
  
            <g:if test="${flash.error}">
            <div class="message">${flash.error}</div>
            </g:if>
  	<g:form name="LoginForm" method="POST" action="doLogin" controller="admin">
  		<label>Usuário</label><br>
  		<input name="user" type="text"/>
  		<br/>
  		<label>Senha</label><br>
  		<input name="passwd" type="password">
  		<br/>
  		<input type="submit" value="Login">
  	</g:form>
  </div>
</body>
</html>
